package com.authine.cloudpivot.ext.dto.model.bill;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;


@Data
public class OrderToBill {

    @Schema(description = "账单类型")
    private String type;

    @Schema(description = "方向：销售、采购")
    private String direction;

    @Schema(description = "业务类型：普通订单、代购订单")
    private String business_type;
    /**
     * 1、正常商品账单对应订单模块传递过来的收货记录ID唯一值
     * 2、结算生成服务费账单，保存结算明细的id
     */
    @Schema(description = "来源id")
    private String reference_id;

    @Schema(description = "订单商品id")
    private String order_goods_id;

    @Schema(description = "收货数量")
    private BigDecimal quantity;


}
